home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmIsTraversable.z
/
XmIsTraversable
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXmmmmIIIIssssTTTTrrrraaaavvvveeeerrrrssssaaaabbbblllleeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmIIIIssssTTTTrrrraaaavvvveeeerrrrssssaaaabbbblllleeee((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmIIIIssssTTTTrrrraaaavvvveeeerrrrssssaaaabbbblllleeee - A function that identifies whether a
widget can be traversed
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Xm.h>
BBBBoooooooolllleeeeaaaannnn XXXXmmmmIIIIssssTTTTrrrraaaavvvveeeerrrrssssaaaabbbblllleeee(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmIIIIssssTTTTrrrraaaavvvveeeerrrrssssaaaabbbblllleeee determines whether the specified widget is
eligible to receive focus through keyboard traversal. In
general, a widget is eligible to receive focus when all of
the following conditions are true:
+o The widget and its ancestors are not being destroyed,
are sensitive, and have a value of True for
XXXXmmmmNNNNttttrrrraaaavvvveeeerrrrssssaaaallllOOOOnnnn.
+o The widget and its ancestors are realized, managed,
and (except for gadgets) mapped. If an application
unmaps a _w_i_d_g_e_t that has its XXXXmmmmNNNNmmmmaaaappppppppeeeeddddWWWWhhhheeeennnnMMMMaaaannnnaaaaggggeeeedddd
resource set to True, the return value is undefined.
+o Some part of the widget's rectangular area is
unobscured by the widget's ancestors, or some part of
the widget's rectangular area is inside the work
window (but possibly outside the clip window) of a
ScrolledWindow whose XXXXmmmmNNNNssssccccrrrroooolllllllliiiinnnnggggPPPPoooolllliiiiccccyyyy is XXXXmmmmAAAAUUUUTTTTOOOOMMMMAAAATTTTIIIICCCC
and whose XXXXmmmmNNNNttttrrrraaaavvvveeeerrrrsssseeeeOOOObbbbssssccccuuuurrrreeeeddddCCCCaaaallllllllbbbbaaaacccckkkk is not NULL.
Some widgets may not be eligible to receive focus even if
they meet all these conditions. For example, most managers
cannot receive focus through keyboard traversal. Some
widgets may be eligible to receive focus under particular
conditions. For example, a DrawingArea is eligible to
receive focus if it meets the conditions above and has no
child whose XXXXmmmmNNNNttttrrrraaaavvvveeeerrrrssssaaaallllOOOOnnnn resource is True.
Note that when all widgets in a shell hierarchy have been
made untraversable, they are considered to have lost focus.
When a widget in this hierarchy is made traversable again,
it regains focus.
XXXXmmmmIIIIssssTTTTrrrraaaavvvveeeerrrrssssaaaabbbblllleeee may return unexpected results when _w_i_d_g_e_tor
its ancestors are overlapped by their siblings.
_w_i_d_g_e_t Specifies the ID of the widget
Page 1 (printed 10/24/98)
XXXXmmmmIIIIssssTTTTrrrraaaavvvveeeerrrrssssaaaabbbblllleeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmIIIIssssTTTTrrrraaaavvvveeeerrrrssssaaaabbbblllleeee((((3333XXXX))))
RRRREEEETTTTUUUURRRRNNNN
Returns True if the widget is eligible to receive focus
through keyboard traversal; otherwise, returns False.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmGGGGeeeettttVVVViiiissssiiiibbbbiiiilllliiiittttyyyy(3) and XXXXmmmmPPPPrrrroooocccceeeessssssssTTTTrrrraaaavvvveeeerrrrssssaaaallll(3).
Page 2 (printed 10/24/98)